Skip to content

Improve k6 docs#11564

Merged
eddumelendez merged 4 commits intotestcontainers:mainfrom
PreAgile:docs/k6-example-test
Mar 12, 2026
Merged

Improve k6 docs#11564
eddumelendez merged 4 commits intotestcontainers:mainfrom
PreAgile:docs/k6-example-test

Conversation

@PreAgile
Copy link
Contributor

This updates the K6 module documentation to show a JUnit-style example test, not just the container setup and script snippet.

The docs now include the existing K6ContainerTests flow so users can see the expected test shape end-to-end:

  • configure the container
  • start the container
  • wait for the test run output
  • assert on the logs

This keeps the existing codeinclude documentation style and reuses the tested source snippet instead of duplicating code in the docs.

Fixes #8780

Co-authored-by: Eddú Meléndez Gonzales <eddu.melendez@gmail.com>
@eddumelendez eddumelendez changed the title docs: add JUnit-style example test to k6 module docs Improve k6 docs Mar 12, 2026
@eddumelendez eddumelendez merged commit a756bc6 into testcontainers:main Mar 12, 2026
102 checks passed
@eddumelendez
Copy link
Member

Thanks for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Add example test to the K6 module docs

2 participants